-
Home
-
UpsellWP – WooCommerce Upsell, Cross Sell, Order Bumps, One Click Upsell, Frequently Bought Together, Next Order Coupons, Product Recommendations
-
1.4.4
-
Code
-
Classes
- NOC
Total Complexity |
123 |
Dependencies |
11 |
Dependents |
1 |
Total lines |
531 |
Lines of code |
349 |
Logical lines of code |
210 |
Comment lines |
128 |
Methods |
16 |
Properties |
1 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getActionsToDisplay() |
C |
34 |
31 |
78 |
init() |
C |
35 |
27 |
72 |
createCoupon() |
B |
38 |
18 |
59 |
applyCouponByUrl() |
A |
58 |
10 |
13 |
isValidOrder() |
A |
57 |
8 |
16 |
getUsageCountBasedOnCurrentUser() |
S |
55 |
6 |
18 |
getActionsHtml() |
S |
57 |
5 |
18 |
processCampaignCoupon() |
S |
53 |
4 |
23 |
getOrder() |
S |
66 |
3 |
8 |
showActions() |
S |
72 |
2 |
5 |
generateCouponCode() |
S |
68 |
2 |
7 |
getCouponUrl() |
S |
72 |
2 |
4 |
loadCampaignView() |
S |
71 |
2 |
5 |
getDisplayLocations() |
S |
64 |
1 |
9 |
getDisplayLocationsOnEmail() |
S |
67 |
1 |
7 |
getDisplayLocationsOnMyAccountPage() |
S |
67 |
1 |
7 |